package com.neusoft.yuejian_6.service;

import com.neusoft.yuejian_6.javabean.Train;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;


public interface TrainService {
    @GET("Train/getTrain")
    Call<List<Train>> getTrainlist();

    @GET("getTrainById.do")
    Call<Train> getTrainById(
            @Query("train_id") int train_id

    );
}
